package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 玩家阵营对象 live_track
 * 
 * @author david
 * @date 2025-06-11
 */
public class LiveTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 直播间id */
    @Excel(name = "直播间id")
    private String liveRoomId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    /** 参与场次 */
    @Excel(name = "参与场次")
    private Long times;

    /** 阵营id */
    @Excel(name = "阵营id")
    private Long track;

    /** 职业id */
    @Excel(name = "职业id")
    private Long job;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;

    /** 数据变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据变更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;

    public void setLiveRoomId(String liveRoomId) 
    {
        this.liveRoomId = liveRoomId;
    }

    public String getLiveRoomId() 
    {
        return liveRoomId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }

    public void setTrack(Long track) 
    {
        this.track = track;
    }

    public Long getTrack() 
    {
        return track;
    }

    public void setJob(Long job) 
    {
        this.job = job;
    }

    public Long getJob() 
    {
        return job;
    }

    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }

    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("liveRoomId", getLiveRoomId())
            .append("userId", getUserId())
            .append("times", getTimes())
            .append("track", getTrack())
            .append("job", getJob())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
